import { BaseEntity, Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity({ name: 'node' })
export class Node extends BaseEntity {
  @PrimaryGeneratedColumn({ type: 'int', name: 'id', comment: '链路节点的id' })
  id: number;
  @Column({
    type: 'varchar',
    name: 'node_name',
    comment: '链路节点的名称',
  })
  node_name: string;
}
